//
//  QLMServiceTopTabCell.m
//  Xiaomakuaixiu
//
//  Created by 龚碧容 on 2017/10/14.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import "QLMServiceTopTabCell.h"

@implementation QLMServiceTopTabCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+ (instancetype)cellWithTableView:(UITableView *)tableView{
    static NSString *identifiew=@"QLMServiceTopTabCellId";
    QLMServiceTopTabCell *cell=[tableView dequeueReusableCellWithIdentifier:identifiew];
    if (cell==nil) {
        cell=[[[NSBundle mainBundle] loadNibNamed:@"QLMServiceTopTabCell" owner:nil options:nil] firstObject];
        cell.userImageView.layer.masksToBounds=YES;
        cell.userImageView.layer.cornerRadius=cell.userImageView.frame.size.height/2;
        
        UIFont *aFont=[UIFont systemFontOfSize:16];
        cell.nameLabel.font=aFont;
        cell.photoTipLabel.font=aFont;
        cell.nameTipLabel.font=aFont;
        cell.serviceLTipLabel.font=aFont;
        cell.customerLabel.font=aFont;
    }
    return cell;
}

@end
